home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / parallel-C disk ^1.adf / MATH.H < prev    next >
C/C++ Source or Header  |  1997-12-31  |  1KB  |  45 lines

  1. /*
  2.  * MATH.H
  3.  *
  4.  * Specs for C-callable mathematical functions
  5.  *
  6.  * 1.2.1  09-Feb-87 AET  (changed ceil(),floor() to double)
  7.  *                       (added fmod() )
  8.  * 1.2.0  03-Feb-87 AET  (added HUGE_VAL,EDOM,ERANGE)
  9.  * 1.1.0  28-Sep-84 ADC  (not all of these entries yet in RTL)
  10.  *
  11.  */
  12.  
  13. #define EDOM     33
  14. #define ERANGE   34
  15.  
  16. #define HUGE_VAL LL_HUGE_VAL
  17. extern double HUGE_VAL;
  18.  
  19. extern double acos(),
  20.               asin(),
  21.               atan(),
  22.               atan2(),
  23.               cabs(),
  24.               ceil(),
  25.               cos(),
  26.               cosh(),
  27.               exp(),
  28.               fabs(),
  29.               floor(),
  30.               fmod(),
  31.               frexp(),
  32.               hypot(),
  33.               ldexp(),
  34.               log(),
  35.               log10(),
  36.               modf(),
  37.               pow();
  38. extern int    rand();
  39. extern double sin(),
  40.               sinh(),
  41.               sqrt();
  42. extern int    srand();
  43. extern double tan(),
  44.               tanh();
  45.